package models

import "tuowei.com/common/models"

type SysSubject struct {
	models.Model
	Name           string               `json:"name" gorm:"type:varchar(20);comment:科目名称"`
	KnowledgePoint []*SysKnowledgePoint `json:"knowledge_point" gorm:"-"`
	Province       string               `json:"province" gorm:"type:varchar(20);comment:适用地区" ` //适用区域
	models.ControlBy
	models.ModelTime
}

func (SysSubject) TableName() string {
	return "sys_subject"
}
